widgets.IATWoojin.wjMomentaryPushButton

Widget Description

short: Setzen eines Wertes auf 1
de: Setzt einen Wert für die Dauer des Klicks auf 1
en: Sets a value to 1, as long as the button is clicked

Properties

name type description bindable readOnly required defaultValue localizable
breakWord Boolean Allows lines to be broken within words if an otherwise unbreakable string is too long to fit. false false false false false
draggable Boolean Make widget draggable. false false false false false
ellipsis Boolean If true, overflow of text is symbolized with an ellipsis. This option has no effect, if wordWrap = true. false false false false false
enable Boolean Initial option to enable widget. true false false true false
footerBtnstate Number btnstate of footer area navigation buttons to force lightring of button true false false 0 false
image ImagePath Path to an optional image. true false false false
imageAlign brease.enum.ImageAlign Position of image relative to text. false false false left false
isHeatButton Boolean Button can have Rectangle or Circle shape false false false false false
mouseDownImage ImagePath Path to an optional image for mouseDown. true false false false
mouseDownText String Text which is displayed in the widget when pressed true false false true
multiLine Boolean If true, more than one line is possible. Text will wrap when necessary (if property wordWrap is set to true) or at explicit line breaks (\n). If false, text will never wrap to the next line. The text continues on the same line. false false false false false
permissionOperate RoleCollection restricts operability to users, which have given roles false false false false
permissionView RoleCollection restricts visibility to users, which have given roles false false false false
style StyleReference reference to a style for this widget type true false false default false
tabIndex Integer sets if a widget should have autofocus enabled (0), the order of the focus (>0), or if autofocus should be disabled (-1) false false false 0 false
text String Text which is displayed in the widget true false false true
tooltip String reference to a tooltip for a widget false false false true
useSVGStyling Boolean Define if the image stylings (i.e imageColor) are applied - only valid when SVG Images are used. false false false true false
value Integer Property is for binding purposes only and can not be used in page definition. true true false 0 false
visible Boolean change visibility true false false true false
wordWrap Boolean If true, text will wrap when necessary. This property has no effect, if multiLine=false false false false false false
imageHeight ImageSize height of the image false false false 0 false
imageWidth ImageSize width of the image false false false 0 false
maxHeight Size maximum outer height of widget false false false 0 false
minHeight Size minimum outer height of widget false false false 0 false
maxWidth Size maximum outer width of widget false false false 0 false
minWidth Size minimum outer width of widget false false false 0 false
zIndex UInteger The zIndex property specifies the z-order of a widget and its childs.
When widgets overlap, z-order determines which one covers the other. A widget with a larger zIndex generally covers a widget with a lower one.
The zIndex must be unique within a content.
false false true false
left Integer absolute position measured from left boundary of parent container false false false false
top Integer absolute position measured from top boundary of parent container false false false false
height AutoSize outer height of widget false false false 30 false
width AutoSize outer width of widget false false false 100 false

Styleable Properties

name type description defaultValue
imageColor Color

Color of the image - only apply if a SVG image is used

#000000
mouseDownImageColor Color

Color of the image - only apply if a SVG image is used

#000000
disabledImageColor Color

Color of the image - only apply if a SVG image is used

#000000
borderStyle BorderStyle

Style of the Border of the widget

solid
borderWidth PixelValCollection

Sets the width of the border. For further information, please check its type

2px
cornerRadius PixelValCollection

Sets the radius of the widget rounded corners. For further information, please check its type

0px
backColor Color

Sets the background color

#DBDBDB
disabledBackColor Color

Sets the background color when disabled

#F1F1F1
backGroundGradient Gradient

Background as a gradient

disabledBackGroundGradient Gradient

Background as a gradient

mouseDownBackGroundGradient Gradient

Background as a gradient when widget is clicked

backGround ImagePath

Sets the path for an image as background

borderColor ColorCollection

Sets the border color

#5B7C70
disabledBorderColor ColorCollection

Sets the color of the border when disabled

#FFFFFF #C8C8C8 #C8C8C8 #FFFFFF
textColor Color

Sets the color of the text when enabled

#000000
disabledTextColor Color

Sets the color of the text when disabled

#989898
mouseDownBorderColor ColorCollection

border color when widget is clicked

#FD7B01
mouseDownBorderWidth PixelValCollection

border width when widget is clicked

2px
mouseDownBackColor Color

back color when widget is clicked

#DBDBDB
mouseDownTextColor Color

text color when widget is clicked

#000000
textAlign brease.enum.TextAlign

Alignment of the text

center
opacity Opacity

Opacity of the widget

1
rotation Rotation

Rotation of widget.

0deg
fontSize PixelVal

Fontsize of the text in pixel

12px
fontName FontName

Fontname of the text

Arial
bold Boolean

If true font style is bold

false
italic Boolean

If true font style is italic

false
padding Padding

Padding of the Widget

0px 10px
margin Margin

Margin of the Widget

0px
shadow Shadow

Shadow of the Widget

none
mouseDownShadow Shadow

Shadow of the Widget when widget clicked

none